package com.ruoyi.walmart.domain.shipments;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="walmart_shipment_label")
public class ShipmentLabel {
    @TableId(value = "id")
    private String id;
    @TableField(value = "shipment_id")
    private String shipmentId;
    private String labelSize;
    private String labelFormat;
    private Integer pallet;
    private Integer singleSku;
    private Integer mixedSkus;
    private String shipmentLabelPath;
    @TableField(exist = false)
    private List<LoadType> loadTypes;
    private Long shopAuthId;
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class LoadType {
        private Integer count;
        private String loadType;
    }
}
